<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;
//Route::rule('notice_index','api/Notice/index');
Route::group(function () {

//    Route::group('Member', function () {
//        Route::rule('my', 'my');
//        Route::rule('update_one', 'update_one');
//        Route::rule('son_sum', 'son_sum');
//        Route::rule('my_invite', 'my_invite');
//        Route::rule('brokerage_records', 'brokerage_records');
//        Route::rule('integral_records', 'integral_records');
//        Route::rule('recharge_records', 'recharge_records');
//        Route::rule('sign_index', 'sign_index');
//        Route::rule('sign_create', 'sign_create');
//        Route::rule('my_collect', 'my_collect');
//        Route::rule('browse_records', 'browse_records');
//        Route::rule('withdraw_records', 'withdraw_records');
//        Route::rule('withdraw_apply', 'withdraw_apply');
//        Route::rule('captcha', 'captcha');
//        Route::rule('cert_create', 'cert_create');
//        Route::rule('cert_status', 'cert_status');
//    })->prefix('Member/')->middleware(app\middleware\CheckToken::class); //'CheckToken'
//    Route::group('Goods',function (){
//        Route::rule('home', 'home');
//    })->prefix('Goods/')->middleware(app\middleware\CheckToken::class);
//    Route::group('Address',function (){
//        Route::rule('create', 'create');
//        Route::rule('update', 'update');
//    })->prefix('Address/')->middleware(app\middleware\CheckToken::class);
//    Route::group('Index', function () {
//        Route::rule('cart', 'Index/cart');
//        Route::rule('update_one', 'update_one');
//        Route::rule('son_sum', 'son_sum');
//        Route::rule('my_invite', 'my_invite');
//        Route::rule('brokerage_records', 'brokerage_records');
//        Route::rule('integral_records', 'integral_records');
//        Route::rule('recharge_records', 'recharge_records');
//        Route::rule('sign_index', 'sign_index');
//        Route::rule('sign_create', 'sign_create');
//        Route::rule('my_collect', 'my_collect');
//        Route::rule('browse_records', 'browse_records');
//        Route::rule('withdraw_records', 'withdraw_records');
//        Route::rule('withdraw_apply', 'withdraw_apply');
//        Route::rule('captcha', 'captcha');
//        Route::rule('cert_create', 'cert_create');
//        Route::rule('cert_status', 'cert_status');
//    })->prefix('Index/'); //'CheckToken'

});//->middleware(app\middleware\CheckToken::class)


Route::group('Notice', function () {

    Route::rule('hha', 'Notice/heihei');

    Route::rule('abc/:id', 'Notice/abc','GET|POST');
});

//Route::get('/', function () {
//    return 'Hello,world!';
//});

